/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frame.h                                            */
/*  NOTE      =                                                    */
/*  DATE      = 2014/10/09                                         */
/*******************************************************************/

#ifndef __FRAME_H_
#define __FRAME_H_

#include "module.h"

typedef struct __st_nids_handle {
    const char *p_dev;
    void *p_daq_hand;
} Nids_handle;

//接受网卡个数
#define APM_DEV_MAX    8

extern int g_i_flag_run;
extern struct event_base *g_p_st_ebase;
extern ApmContext g_st_apm_context;

const char *frame_version(void);

void frame_cmd_exist(void );
unsigned int frame_threads_cnt(void);

#endif
